package controllers

import (
	"github.com/astaxie/beego"
)

type LoginController struct {
	beego.Controller
}

func (c *LoginController) Get() {
	c.TplName = "login.html"
}

func (c *LoginController) Post() {
	//var username = c.GetString("username")
	//var password = c.GetString("password")

	c.Ctx.Redirect(302, "/main")

	//c.Data["Website"] = username
	//c.Data["Email"] = password
	//c.TplName = "index.tpl"
}
